<template>
	<view class="box">
		<u-tabs :list="tabsList" @click="tabsClick"></u-tabs>
		<view v-for="(item,idx) in 5" class="margin_bottom_l com_list u-border-bottom">
			<view class="content">xxxxx公司组长张三正在转移组长给李四</view>
			<view class="display_flex u-flex-end">
				<view class="display_flex btn_view">
					<view class="btn">不同意</view>
					<view class="btn margin_left_l">同意</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabsList: [{
						name: ' 审批'
					},
					{
						name: ' 申请'
					}
				],
			}
		},
		methods: {
			tabsClick(e) {
				console.log(e.name)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		box-sizing: border-box;

		.com_list {
			padding: 20rpx;

			.content {
				padding: 20rpx 0;
			}

			.btn_view {
				.btn {
					padding: 10rpx 30rpx;
					border-radius: 9rpx;
					background: #49A0FF;
					color: #fff;
				}
			}
		}

	}
</style>